Name | Description | |
---|---|---|
StructList<T> Constructor | Overloaded. |
The following tables list the members exposed by StructList<T>.
Name | Description | |
---|---|---|
StructList<T> Constructor | Overloaded. |
Name | Description | |
---|---|---|
Capacity | Gets or sets the total number of elements the internal array can hold without resizing. | |
Count | Gets the number of elements actually contained in the StructList<T>. | |
InnerArray | Gets the current array containing the elements of the StructList<T>. | |
Item | Gets a reference to the struct at the specified index. | |
SyncRoot | Gets an object that can be used to synchronize access to the StructList<T>. |
Name | Description | |
---|---|---|
Add | Adds a struct to the end of the StructList<T>. | |
AddArray | Adds the elements of the specified array to the end of the StructList<T>. | |
AddRange | Adds the elements of the specified collection to the end of the StructList<T>. | |
AsReadOnly | Returns a read-only ReadOnlyStructList<T> wrapper for the current StructList<T>. | |
BinarySearch | Overloaded. Searches a range of elements in the sorted StructList<T> for an element using the specified GrapeCity.Documents.Common.StructComparison`1 and returns the zero-based index of the element. | |
Clear | Removes all elements from the StructList<T>. | |
ConvertAll<TOutput> | Converts the elements in the current StructList<T> to another type, and returns a list containing the converted elements. | |
CopyTo | Overloaded. Copies the entire StructList<T> to a compatible one-dimensional array, starting at the specified index of the target array. | |
CountAll | Gets the number of elements in the StructList<T> that match the conditions defined by the specified predicate. | |
Exists | Determines whether the StructList<T> contains elements that match the conditions defined by the specified predicate. | |
FindAll | Retrieves all the elements that match the conditions defined by the specified predicate. | |
FindIndex | Overloaded. Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire StructList<T>. | |
FindLastIndex | Overloaded. Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire StructList<T>. | |
ForEach | Performs the specified action on each element of the StructList<T>. | |
GetRange | Creates a shallow copy of a range of elements in the source StructList<T>. | |
Insert | Inserts a struct into the StructList<T> at the specified index. | |
InsertArray | Inserts the elements of an array into the StructList<T> at the specified index. | |
InsertRange | Inserts the elements of a collection into the StructList<T> at the specified index. | |
RemoveAll | Removes all the elements that match the conditions defined by the specified predicate. | |
RemoveAt | Removes the element at the specified index of the StructList<T>. | |
RemoveRange | Removes a range of elements from the StructList<T>. | |
Reverse | Overloaded. Reverses the order of the elements in the entire StructList<T>. | |
Sort | Overloaded. Sorts the elements in the entire StructList<T> using the specified GrapeCity.Documents.Common.StructComparison`1. | |
ToArray | Copies the elements of the StructList<T> to a new array. | |
TrimExcess | Sets the capacity to the actual number of elements in the StructList<T>, if that number is less than a threshold value. | |
TrueForAll | Determines whether every element in the StructList<T> matches the conditions defined by the specified predicate. |